source/wkhtmltox/dll.d(173,6): Error: `@safe` function `init` cannot access `__gshared` data `dll_` source/wkhtmltox/dll.d(179,3): Error: `@safe` function `init` cannot access `__gshared` data `dll_` source/wkhtmltox/dll.d(181,7): Error: `@safe` function `init` cannot access `__gshared` data `dll_` source/wkhtmltox/dll.d(182,34): Error: `@safe` function `wkhtmltox.dll.init` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/wkhtmltox/dll.d-mixin-184(184,1): Error: `@safe` function `init` cannot access `__gshared` data `wkhtmltopdf_init` source/wkhtmltox/dll.d-mixin-184(184,88): Error: `@safe` function `init` cannot access `__gshared` data `wkhtmltopdf_init` source/wkhtmltox/dll.d-mixin-184(184,137): Error: `@safe` function `wkhtmltox.dll.init` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/wkhtmltox/dll.d-mixin-185(185,1): Error: `@safe` function `init` cannot access `__gshared` data `wkhtmltopdf_deinit` source/wkhtmltox/dll.d-mixin-185(185,94): Error: `@safe` function `init` cannot access `__gshared` data `wkhtmltopdf_deinit` source/wkhtmltox/dll.d-mixin-185(185,145): Error: `@safe` function `wkhtmltox.dll.init` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/wkhtmltox/dll.d-mixin-186(186,1): Error: `@safe` function `init` cannot access `__gshared` data `wkhtmltopdf_version` source/wkhtmltox/dll.d-mixin-186(186,97): Error: `@safe` function `init` cannot access `__gshared` data `wkhtmltopdf_version` source/wkhtmltox/dll.d-mixin-186(186,149): Error: `@safe` function `wkhtmltox.dll.init` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/wkhtmltox/dll.d-mixin-188(188,1): Error: `@safe` function `init` cannot access `__gshared` data `wkhtmltopdf_create_global_settings` source/wkhtmltox/dll.d-mixin-188(188,142): Error: `@safe` function `init` cannot access `__gshared` data `wkhtmltopdf_create_global_settings` source/wkhtmltox/dll.d-mixin-188(188,209): Error: `@safe` function `wkhtmltox.dll.init` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/wkhtmltox/dll.d-mixin-189(189,1): Error: `@safe` function `init` cannot access `__gshared` data `wkhtmltopdf_destroy_global_settings` source/wkhtmltox/dll.d-mixin-189(189,145): Error: `@safe` function `init` cannot access `__gshared` data `wkhtmltopdf_destroy_global_settings` source/wkhtmltox/dll.d-mixin-189(189,213): Error: `@safe` function `wkhtmltox.dll.init` cannot call `@system` function `std.string.fromStringz!char.fromStringz` /opt/dmd-safe/dmd/generated/linux/release/64/../../../../../phobos/std/string.d(222,15): `std.string.fromStringz!char.fromStringz` is declared here source/wkhtmltox/dll.d-mixin-191(191,1): Error: `@safe` function `init` cannot access `__gshared` data `wkhtmltopdf_create_object_settings` /opt/dmd-safe/dmd/dmd-safe failed with exit code 1.